package com.gzlg.hospital.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Schedule {
    private Integer id;
    private Integer doctor_id;
    private String doctor_name;
    private String department;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date work_date;
    private String shift;

    // Getters 和 Setters 方法


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDoctor_id() {
        return doctor_id;
    }

    public void setDoctor_id(Integer doctor_id) {
        this.doctor_id = doctor_id;
    }

    public String getDoctor_name() {
        return doctor_name;
    }

    public void setDoctor_name(String doctor_name) {
        this.doctor_name = doctor_name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Date getWork_date() {
        return work_date;
    }

    public void setWork_date(Date work_date) {
        this.work_date = work_date;
    }

    public String getShift() {
        return shift;
    }

    public void setShift(String shift) {
        this.shift = shift;
    }
}